//package jm.easyconfig;
//
//import javax.servlet.http.HttpSession;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class CfgAutoConfiguration {
//	@Bean
//	@ConditionalOnMissingBean(CfgContextEnvironmentAware.class)
//	CfgContextEnvironmentAware cfgContextEnvironmentAware() {
//		CfgHelper.logger.info("cfgContextEnvironmentAware is registered as a bean from CfgAutoConfiguration.");
//		return new CfgContextEnvironmentAware();
//	}
//
//	@Bean
//	@ConditionalOnMissingBean(CfgServletRegistrationBean.class)
//	public CfgServletRegistrationBean cfgAdminServlet() {
//		CfgHelper.logger.info(
//				"cfgAdminServlet with urlMappings of /easyconfig-admin/*  is registered as a bean from CfgAutoConfiguration.");
//		return new CfgServletRegistrationBean("/easyconfig-admin/*");
//	}
//
//}
